<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>Bootstrap 101 Template</title>


    <!-- Bootstrap -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">

    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
<!--    vue-->
<!--    <script src="../../static/polyfill/dist/polyfill.min.js"></script>-->
<!--    <script src="../../static/jquery/dist/jquery.min.js"></script>-->
<!--    <script src="../../static/@popperjs/core/dist/umd/popper.min.js"></script>-->
<!--    <script src="../../static/bootstrap/dist/js/bootstrap.min.js"></script>-->
<!--    <script src="../../static/polyfill/dist/polyfill.min.js"></script>-->
<!--    <script src="../../static/vue/dist/vue.js" ></script>-->



    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->


    <style type="text/css">
        header{
            background-color: #393D49;
            color: white;

        }

        .col-md-2{
            background-color: #393D49;
        }

        #tree{
            background-color:#2F4056;
            color: white;
        }

        .col-md-2>ul>li{
            background-color: #393D49;
            color: white;
        }
        a{
            color: white;
        }

        #search_div>input{
            height: 30px;
            border-radius: 30px;
            background-color: #383838;
            padding: 10px 20px;
            color: #a9a8a8;
            border: none;
            position: relative;
            top:10px;
            outline: none;/*去掉点击后的边框*/

        }
        #search_div>button{
            background-color: rgba(0,0,0,0);/*背景透明*/
            border: 0;
            color: gray;
            position: relative;
            top: 12px;
            right: 40px;
        }

    </style>
</head>
<body>

<!--导航条-->
<header>
    <!-- 黑底白字 -->
    <nav class="navbar navbar-expand-sm bg-dark navbar-dark">
       <div>工资管理</div>
    </nav>
</header>

<section>

    <div class="row">
        <!--        最左边的列表-->
        <div class="col-md-2">


            <ul class="list-group">
                <li class="list-group-item"><a href="">员工管理</a></li>
                <li class="list-group-item"><a href="">角色管理</a></li>
                <li class="list-group-item"><a href="">部门管理</a></li>
                <li class="list-group-item"><a href="">岗位管理</a></li>
                <li class="list-group-item"><a href="salary.html">工资管理</a></li>
                <li class="list-group-item"><a href="">通知公告</a></li>
            </ul>

        </div>
        <!--        树形  中-->

        <div class="col-md-2" id="tree">
            树
        </div>
        <!--右边内容-->
        <div class="col-md-8">

            <ul class="list-group">
                <!--                搜索-->
                <li class="list-group-item">

                </li>
                <!--                新增按钮-->
                <li class="list-group-item">
                    <button type="button" class="btn btn-warning">增加</button>
                    <button type="button" class="btn btn-danger">删除</button>
                    <button type="button" class="btn btn-dark">编辑</button>
                </li>
                <!--                菜单名称-->
                <li class="list-group-item">


                    <table class="table" id="search_div">
                        <thead>
                        <tr>
                            <th>Firstname</th>
                            <th>Lastname</th>
                            <th>Email</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="sala in salarys" >
                            <td v-text="sala.id">Default</td>
                            <td v-text="sala.staffId">D dds</td>
                            <td v-text="sala.salary">def@somemail.com</td>
                            <td v-text="sala.cardNo">def@somemail.com</td>
                            <td v-text="sala.level">def@somemail.com</td>
                            <td v-text="sala.state">def@somemail.com</td>
                            <td v-text="sala.gmtCreate">def@somemail.com</td>
                            <td v-text="sala.gmtModified">def@somemail.com</td>

                            <td>
                                <button type="button" class="btn btn-warning"><a v-bind:href="'/salary/salaryAdd.html?staffId='+sala.staffId">增加</a></button>
                                <button type="button" class="btn btn-danger"> <a v-bind:href="'/portal/salary/delete?id='+sala.id">删除</a></button>
                                <button type="button" class="btn btn-dark">   <a v-bind:href="'/salary/salaryEdit.html?staffId='+sala.staffId">编辑</a></button>
                            </td>
                        </tr>
                        <tr class="table-primary">
                            <td>Primary</td>
                            <td>Joe</td>
                            <td>joe@example.com</td>
                            <td>
                                <button type="button" class="btn btn-warning">增加</button>
                                <button type="button" class="btn btn-danger">删除</button>
                                <button type="button" class="btn btn-dark">编辑</button>
                            </td>
                        </tr>
                        <tr class="table-success">
                            <td>Success</td>
                            <td>Doe</td>
                            <td>john@example.com</td>
                            <td>
                                <button type="button" class="btn btn-warning" href="/salary/salaryAdd.html">增加</button>
                                <button type="button" class="btn btn-danger">删除</button>
                                <button type="button" class="btn btn-dark" href="salaryEdit.html">编辑</button>
                            </td>
                        </tr>
                        <tr class="table-danger">
                            <td>Danger</td>
                            <td>Moe</td>
                            <td>mary@example.com</td>
                            <td>
                                <button type="button" class="btn btn-warning">增加</button>
                                <button type="button" class="btn btn-danger">删除</button>
                                <button type="button" class="btn btn-dark">编辑</button>
                            </td>
                        </tr>
                        <tr class="table-info">
                            <td>Info</td>
                            <td>Dooley</td>
                            <td>july@example.com</td>
                            <td>
                                <button type="button" class="btn btn-warning">增加</button>
                                <button type="button" class="btn btn-danger">删除</button>
                                <button type="button" class="btn btn-dark">编辑</button>
                            </td>
                        </tr>
                        <tr class="table-warning">
                            <td>Warning</td>
                            <td>Refs</td>
                            <td>bo@example.com</td>
                            <td>
                                <button type="button" class="btn btn-warning">增加</button>
                                <button type="button" class="btn btn-danger">删除</button>
                                <button type="button" class="btn btn-dark">编辑</button>
                            </td>
                        </tr>
                        <tr class="table-active">
                            <td>Active</td>
                            <td>Activeson</td>
                            <td>act@example.com</td>
                            <td>
                                <button type="button" class="btn btn-warning">增加</button>
                                <button type="button" class="btn btn-danger">删除</button>
                                <button type="button" class="btn btn-dark">编辑</button>
                            </td>
                        </tr>
                        <tr class="table-secondary">
                            <td>Secondary</td>
                            <td>Secondson</td>
                            <td>sec@example.com</td>
                            <td>
                                <button type="button" class="btn btn-warning">增加</button>
                                <button type="button" class="btn btn-danger">删除</button>
                                <button type="button" class="btn btn-dark">编辑</button>
                            </td>
                        </tr>
                        </tbody>
                    </table>


                </li>

            </ul>

        </div>
    </div>

</section>


<!--    vue-->
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="/js/salary.js"/>

<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>

</body>
</html>